//
//  HtmlGenerator.swift
//  shop
//
//  Created by 刘伟 on 2017/3/29.
//
//

func htmlGenerator(_ content: String) -> String {
    let htmlHeader = "<!doctype html><html lang=''><head><meta charset='UTF-8'><style>img{max-width: 100% !important;border:0;display:block;}</style><title>Document</title></head><body>"
    let htmlFooter = "</body></html>"
    return htmlHeader + content + htmlFooter
}
